{% extends "base.html" %}

{% block content %}
<center>
{% if notes %}
	ReadKey:<input type="text" name="key" id="key" value="" />
	<input type="button" name="ok" value="OK" class="button red" onclick="decryptall();" />
	
	<br>
	<br>
	
	{% for note in notes %}
		<table>
			<tr>
				<td><b>Date</b></td>
				<td width="350">{{note.date}}</td>
			</tr>
			<tr>
				<td><b>Data</b></td>
				<td width="350">
					<textarea name="toDecrypt" cols="50" rows="3">{{note.dataCrypted}}</textarea>
				</td>
			</tr>
		</table>
		
		<br>
	{% endfor %}
{% endif %}
</center>
{% endblock %}